package com.exrobot.module.rbt.controller.app.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "取餐码对象")
public class MealCodeVO {
    @Schema(description = "任务ID")
    public String taskId;

    @Schema(description = "任务点ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "任务点ID不能为空")
    public String siteId;

    @Schema(description = "餐盒号列表", requiredMode = Schema.RequiredMode.REQUIRED, example = "[1,2]")
    @NotEmpty(message = "餐盒号列表不能为空")
    public List<Integer> boxNos;

    @Schema(description = "取餐码", requiredMode = Schema.RequiredMode.REQUIRED, example = "2123")
    public String code;
}
